package two_xia.ex9.Demo05;

class China extends Country {
    public China(UnitedNations mediator) {
        super(mediator);
    }

    public void receiveMessage(String message) {
        System.out.println("中国接收到消息：" + message);
    }

    public void sendMessage(String message) {
        mediator.declare(message, this);
    }
}